package com.wh.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.basic.vo.AjaxResult;
import com.wh.org.dto.ShopDto;
import com.wh.org.pojo.Shop;
import com.wh.system.dto.RoleDto;
import com.wh.system.pojo.Role;

import java.util.List;

public interface IRoleService {

    void add(Role role);
    void del(Long id);
    void upd(Role role);
    List<Role> findAll();

    void patchDel(List<Long> ids);

    IPage<Role> findByPage(RoleDto roleDto);

    Role findOne(Long id);

    AjaxResult updatemenu(Role role);
}
